import { setupStore } from "@/stores";
import { createApp } from "vue";
import VXETable from "vxe-table";
import App from "./App.vue";
import { setupRouter } from "./router";

import "./assets/index.scss";
import "./assets/styles/vue-flow.css";
import "mars3d-cesium/Build/Cesium/Widgets/widgets.css";
import "mars3d/dist/mars3d.css";

async function bootstrap() {
  const app = createApp(App);
  app.use(VXETable);

  // 配置 store
  setupStore(app);

  // 配置路由
  setupRouter(app);

  app.mount("#app");
}

bootstrap();
